<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>如何绘制一个对勾</title>
    <style>
        .box{
            width: 0px;
            height: 0;
            position: relative;
            top: 100px;
            left: 100px;
            transform: rotate(210deg);
        }
        .box::after, .box::before{
            content: '';
            display: block;
            position: absolute;
            top: 0;
            left: 0;
        }
        .box::after{
            width: 10px;
            height: 80px;
            background-color: red;
        }
        .box::before{
            width: 50px;
            height: 10px;
            background-color: red;
        }
    </style>
</head>
<body>
    <div class="box">

    </div>
</body>
</html>